
// 教师，学生
let students = {
    code: 200,
    msg: 'success',
    result:{
        students:[{
            id:1,
            name:"杨丽"
        },{
            id:2,
            name:"云依依"
        },{
            id:3,
            name:"白居易"
        },{
            id:4,
            name:"杜甫"
        },{
            id:5,
            name:"杜啦啦"
        },{
            id:6,
            name:"李逍遥"
        },{
            id:7,
            name:"赵灵儿"
        },{
            id:8,
            name:"赵家庄"
        },{
            id:9,
            name:"景天"
        },{
            id:10,
            name:"胡歌"
        },{
            id:11,
            name:"张思琪"
        },{
            id:12,
            name:"张思琪"
        },{
            id:13,
            name:"张思榆"
        },{
            id:14,
            name:"何大大"
        },{
            id:15,
            name:"何宇"
        },{
            id:16,
            name:"何杰"
        },{
            id:17,
            name:"张杰"
        },{
            id:18,
            name:"甑子丹"
        }],
        teacher:[{
            id:1,
            name:"白欣欣"
        },{
            id:2,
            name:"杨蓉"
        },{
            id:3,
            name:"李云月"
        },{
            id:4,
            name:"王进康"
        },{
            id:5,
            name:"张思思"
        },{
            id:6,
            name:"廖毕蓉"
        },{
            id:7,
            name:"高富强"
        },{
            id:8,
            name:"王梅"
        },{
            id:9,
            name:"邓贵"
        },{
            id:10,
            name:"王炕"
        },{
            id:11,
            name:"王也"
        },{
            id:12,
            name:"张楚岚"
        }]
    }
}

// 个人空间总数
let personalSpace = {
    code:200,
    msg:"success",
    result: {
        patNum: 27557,
        personSum: 61077,
        stuNum: 24786,
        tecNum: 25110
    }
}

// 机构空间总数
let spaceAgency = {
    code:200,
    msg:"success",
    result: {
        classNum: 28638,
        orgNum: 56300,
        orgSum: 67687,
        schoolNum: 72533
    }
}

// 个人空间列表
let personalSpaceList = {
    code:200,
    msg:"success",
    result:[{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/album03.jpg'),
        username: "@cname",
        visitor: "@integer(1,10000)",
        userWork:"老师",
        subjects:"历史",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳一中",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"学生",
        subjects:"",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳二中",
        userimg: require('../assets/img/headportrait02.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"家长",
        subjects:"",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait03.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"老师",
        subjects:"数学",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/album03.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"老师",
        subjects:"英语",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"学生",
        subjects:"",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"学生",
        subjects:"",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait03.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"老师",
        subjects:"化学",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"老师",
        subjects:"地理",
        isFocusOn:0
    }]
}

// 机构空间列表
let institutionsList = {
    code:200,
    msg:"success",
    result:[{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/album03.jpg'),
        username: "@cname",
        visitor: "@integer(1,10000)",
        userWork:"老师",
        subjects:"历史",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳一中",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"学生",
        subjects:"",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳二中",
        userimg: require('../assets/img/headportrait02.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"家长",
        subjects:"",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait03.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"老师",
        subjects:"数学",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/album03.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"老师",
        subjects:"英语",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"学生",
        subjects:"",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"学生",
        subjects:"",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait03.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"老师",
        subjects:"化学",
        isFocusOn:0
    },{
        bean: "@integer(0,10000)",
        school: "贵阳师范",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname",
        visitor: "@integer(0,10000)",
        userWork:"老师",
        subjects:"地理",
        isFocusOn:0
    }]
}

// 最新动态
let theLatestDynamic = {
    code:200,
    msg:'success',
    result:[{
        dynamicContent: "上传照片到《枯木会逢春》",
        rolename: "学生",
        time: "@integer(5,60)分钟前",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname"
    },{
        dynamicContent: "上传照片到《在人间凑数的日子》",
        rolename: "老师",
        time: "@integer(5,60)分钟前",
        userimg: require('../assets/img/album03.jpg'),
        username: "@cname"
    },{
        dynamicContent: "发布文章《在我没钱的那些日子里》",
        rolename: "家长",
        time: "@integer(5,60)分钟前",
        userimg: require('../assets/img/headportrait03.jpg'),
        username: "@cname"
    },{
        dynamicContent: "发布文章《作业》",
        rolename: "学生",
        time: "@integer(5,60)分钟前",
        userimg: require('../assets/img/headportrait02.jpg'),
        username: "@cname"
    },{
        dynamicContent: "发布文章《咿呀哟》",
        rolename: "老师",
        time: "@integer(5,60)分钟前",
        userimg: require('../assets/img/headportrait01.jpg'),
        username: "@cname"
    }]
}

// 最新文章
let articleList = {
    code:200,
    msg:"success",
    result:[{
        articleTime: '@date("yyyy-MM-dd")',
        articleTitle: "测试内容123",
    },{
        articleTime: '@date("yyyy-MM-dd")',
        articleTitle: "测试内容123",
    },{
        articleTime: '@date("yyyy-MM-dd")',
        articleTitle: "测试内容123",
    },{
        articleTime: '@date("yyyy-MM-dd")',
        articleTitle: "测试内容123",
    },{
        articleTime: '@date("yyyy-MM-dd")',
        articleTitle: "测试内容123",
    },{
        articleTime: '@date("yyyy-MM-dd")',
        articleTitle: "测试内容123",
    },{
        articleTime: '@date("yyyy-MM-dd")',
        articleTitle: "测试内容123",
    },{
        articleTime: '@date("yyyy-MM-dd")',
        articleTitle: "测试内容123",
    }]
}

// 登录
let logIn = {
    code:200,
    msg:'success',
    result:{
        userId:45,
        userImg:require('../assets/img/album03.jpg'),
        userName:"丽丽"
    }
}

// 空间
let zoneList = {
    code:200,
    msg:'success',
    result:{
        total:'@integer(1,10000)',
        count:'@integer(1,10000)',// 用户总数
        list: [{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"数学",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"英语",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        },{
            beanNum: '@integer(1,10000)',//粉丝
            rolename: "老师",
            subjects:"语文",
            schoolName: "中方二中",
            visitorNum: '@integer(1,10000)',//访客
            userid: '@integer(1,10000)',
            username: "@cname",
            flag:0, //是否关注 0 为关注，1 已关注
        }],
        conditions:[{ //阶段
            id:1,
            phase:'小学'
        },{
            id:2,
            phase:'初中'
        },{
            id:3,
            phase:'高中'
        }],
        sortingWay:[{//空间排序
            label:'访问量',
            ascType:'asc'
        },{
            label:'粉丝数',
            ascType:'desc'
        }]
    }
}


export default {
    'post|/student':students,
    'get|/personzone/home/userPersonSum':personalSpace,
    'get|/personzone/home/userOrgSum':spaceAgency,
    'get|/personzone/home/zoneList':personalSpaceList,
    'get|/personzone/home/findDynamicList':theLatestDynamic,
    'get|/personzone/home/institutionsList':institutionsList,
    'get|/personzone/home/articleList':articleList,
    'get|/user/login':logIn
}